package com.liyghting.test;

import java.util.ArrayList;
import java.util.List;

/**
 * @author LiYiGuang
 * @date 2020/7/23 22:09
 */
public class IntegerCompare {
    public static void main(String[] args) {
        Integer integer = Integer.valueOf(1);
        List<Integer> list = new ArrayList<>();
        list.add(Integer.valueOf(1));
        System.out.println("integer = " + (integer == list.get(0)));
    }
}
